/* your custom css */


/*
Docusaurus's default displays img tags as block.
Numerous images in the main README.md relied on default (inline-block) img tag styling
when this project was migrated initially.

Override that style here
*/
article p img {
  display: inline-block;
}

@media only screen and (min-device-width: 360px) and (max-device-width: 736px) {
}

@media only screen and (max-width: 735px) {
  .nav-footer .sitemap .nav-home {
    margin-left: -10px;
  }
}

@media only screen and (min-width: 1024px) {
}

@media only screen and (max-width: 1023px) {
}

@media only screen and (min-width: 1400px) {
}

@media only screen and (min-width: 1500px) {
}

/* Transform Github link. Lifted from Redux's CSS */
/* https://github.com/reduxjs/redux/blob/master/website/static/css/custom.css#L134 */

.navigationSlider .slidingNav ul a[href*="github"] {
  font-size: 0;
}

.navigationSlider .slidingNav ul a[href*="github"]::before {
  content : "";
  width : 32px;
  height : 32px;
  background: url("/img/github-brand.svg");
}

.detail {
    font-size: 0.8em;
    color: #979797;
}

/* no fixed header, it makes linking ugly as headers disappear */
@media only screen and (min-width: 1024px)  {
    .fixedHeaderContainer {
        position: unset !important;
    }

    .navPusher {
        padding-top: 0px !important;
        margin-top: -40px !important;
    }
    .onPageNav {
        top: 70px !important;
    }
    .docsNavContainer {
        top: 30px !important;
    }
}


details {
    background-color: aliceblue;
    font-size: 0.8em;
    padding: 4px 8px;
    border-radius: 4px;
}

details > summary {
    color: navy;
    cursor: pointer;
}

details[open] > summary {
    margin-bottom: 8px;
}

.tabs {
    background: #efefef
}

.tab-content {
    padding: 1.25rem 1.5rem;
}

.tab-content .hljs {
    padding: 1.25rem 0px;
}

.benefits  {
    display: flex;
    align-items: center;
    flex-direction: column;
}

 .benefits > div {
    width: 80%;
    display: flex;
    align-items: center;
}

.benefits .pic {
    font-size: 40px;
    margin-right: 40px;
}

@media (max-width: 480px) {
  .slidingNav::before {
    text-align: left;
    padding-left: 60px;
  }
}

/* Cheat sheet link */
.cheat {
    text-align: center;
}
.cheat button {
    cursor: pointer;
    text-align: center;
    background: #035193;
    color: white;
    padding: 8px;
    border: none;
    border-radius: 4px;
    margin-left: auto;
    margin-right: auto;
    font-weight: bold;
}

/* Carbon */
#carbonads {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu,
        Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#carbonads {
    display: block;
    overflow: hidden;
    max-width: 728px;
    position: relative;
    background-color: hsl(0, 0%, 99%);
    border: solid 1px #eee;
    font-size: 22px;
    box-sizing: content-box;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

#carbonads > span {
    display: block;
}

#carbonads a {
    color: inherit;
    text-decoration: none;
}

#carbonads a:hover {
    color: inherit;
}

.carbon-wrap {
    display: flex;
    align-items: center;
}

.carbon-img {
    display: block;
    margin: 0;
    line-height: 1;
}

.carbon-img img {
    display: block;
    height: 90px;
    width: auto;
}

.carbon-text {
    display: block;
    padding: 0 1em;
    line-height: 1.35;
    text-align: left;
}

.carbon-poweredby {
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 6px 10px;
    background: repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 5px,
            hsla(0, 0%, 0%, 0.025) 5px,
            hsla(0, 0%, 0%, 0.025) 10px
        )
        hsla(203, 11%, 95%, 0.8);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    font-size: 8px;
    border-top-left-radius: 4px;
    line-height: 1;
}

@media only screen and (min-width: 320px) and (max-width: 759px) {
    .carbon-text {
        font-size: 14px;
    }
}

.tip-anchor {
    margin-left: 8px;

}
.tip-anchor::after {
    content: "∞"
}

blockquote {
    color: #444a50;
}

a:hover {
    text-decoration: underline;
}

small {
    font-size: smaller;
}
